package io.chenglicun.modules.knowledge.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 用户提问记录
 *
 * @author shicong 705740711@qq.com
 * @since 1.0 2024-05-10
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class KnowledgeQaExcel {
    @ExcelProperty(value = "id", index = 0)
    private Long id;
    @ExcelProperty(value = "问题", index = 1)
    private String question;
    @ExcelProperty(value = "答案", index = 2)
    private String answer;
    @ExcelProperty(value = "类型0 知识库，1 配置问答", index = 3)
    private String type;
    @ExcelProperty(value = "创建者", index = 4)
    private Long creator;
    @ExcelProperty(value = "创建时间", index = 5)
    private Date createDate;
    @ExcelProperty(value = "更新者", index = 6)
    private Long updater;
    @ExcelProperty(value = "更新时间", index = 7)
    private Date updateDate;
}